Python and Java: The Best of Both Worlds
نویسنده
چکیده
This paper describes a new working implementation of the Python language; built on top of the Java language and run-time environment. This is in contrast to the existing implementation of Python, which has been built on top of the C language and run-time environment. Implementing Python in Java has a number of limitations when compared to the current implementation of Python in C. These include about 1.7X slower performance, portability limited by Java VM availability, and lack of compatibility with existing C extension modules. The advantages of Java over C as an implementation language include portability of binary executables, object-orientation in the implementation language to match object-orientation in Python, true garbage collection, run-time exceptions instead of segmentation faults, and the ability to automatically generate wrapper code for arbitrary Java libraries.
منابع مشابه
Best of Both Worlds; Comment on “(Re) Making the Procrustean Bed? Standardization and Customization as Competing Logics in Healthcare”
This article builds on Mannion and Exworthy’s account of the tensions between standardization and customization within health services to explore why these tensions exist. It highlights the limitations of explanations which root them in an expression of managerialism versus professionalism and suggests that each logic is embedded in a set of ontological, epistemological and moral commitments wh...
متن کاملUser-Centered Evolutionary Software Development Using Python and Java
The two language approach to software development has been investigated by several language designers. The primary hypothesis of such an approach being that both strong compile-time type checking and loose run-time type checking are desirable in evolutionary software development. Java is a strongly typed language which offers performance, robustness and modularity as such, while Python is a wea...
متن کاملIntroduction to Programming with Greenfoot - Object-Oriented Programming in Java with Games and Simulations, Second Edition
Python 3 Object Oriented Programming is writen by Dusty Phillips in English language. Release on 2010-07-26, this book has 404 page count that contain essential information with easy reading structure. The book was publish by Packt Publishing, it is one of best programming book genre that gave you everything love about reading. You can find Python 3 Object Oriented Programming book with ISBN 97...
متن کاملTransactional Runtime Extensions for Dynamic Language Performance
We propose exposing best-effort atomic execution, as provided by a simple hardware transactional memory (HTM), in a managed runtime’s bytecode interface. Dynamic language implementations built on such a runtime can generate more efficient, code, using speculation to eliminate the overhead and obstructions to optimization incurred by code needed to preserve rarely used language semantics. In thi...
متن کاملDoes Python Smell Like Java? Tool Support for Design Defect Discovery in Python
The context of this work is specification, detection and ultimately removal of harmful patterns in source code that are associated with defects in design and implementation of software. In particular, we investigate five code smells and four antipatterns previously defined in literature. Our inquiry is about detecting those nine design defects in source code written in Python programming langua...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997